<?php if (!$sf_user->hasAttribute('kts_global_program_filter') && $sf_user->isAuthenticated()) { ?>

    <a style="display:none" id="global_filter_popup" href="<?php echo url_for('home/globalFilter') ?>"></a>
    <script type="text/javascript">
        jQuery(document).ready(function(){
            jQuery('a#global_filter_popup').fancybox({'width':'200'}).trigger('click');
        });
    </script>

<?php } ?>